package com.qiuyang.service;

import com.qiuyang.pojo.Type;
import javassist.NotFoundException;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface TypeService {


    /*------------------------------------------------*/
    void insertType(Type type);
    void deleteTypes(Long id);
    void updateTypes(Type type);
    Type findTypeByName(String name);
    Type findTypeById(Long id);

    List<Type> getAllType();


}
